package com.rongxun.hbwallet.model.bean;

/**
 * 创建者     庄丰泽
 * 创建时间   2018/9/21 16:41
 * 描述	      购买成功后返回
 */

public class Order {

    /**
     * order : {"id":1044816091440934914,"uid":1042249202126979008,"txhash":"0x40dab032b3b9c575162096780da8191e8de935bef55c3b8271d584df42980e4a","txstate":"0","amount":1000,"profits":0,"grossearnings":6000,"state":"0","createtime":"2018-09-26T05:09:02.601+0000"}
     */

    private OrderBean order;

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public static class OrderBean {
        /**
         * id : 1044816091440934914
         * uid : 1042249202126979008
         * txhash : 0x40dab032b3b9c575162096780da8191e8de935bef55c3b8271d584df42980e4a
         * txstate : 0
         * amount : 1000
         * profits : 0
         * grossearnings : 6000
         * state : 0
         * createtime : 2018-09-26T05:09:02.601+0000
         */

        private long id;
        private long   uid;
        private String txhash;
        private String txstate;
        private int    amount;
        private int    profits;
        private int    grossearnings;
        private String state;
        private String createtime;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public long getUid() {
            return uid;
        }

        public void setUid(long uid) {
            this.uid = uid;
        }

        public String getTxhash() {
            return txhash;
        }

        public void setTxhash(String txhash) {
            this.txhash = txhash;
        }

        public String getTxstate() {
            return txstate;
        }

        public void setTxstate(String txstate) {
            this.txstate = txstate;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getProfits() {
            return profits;
        }

        public void setProfits(int profits) {
            this.profits = profits;
        }

        public int getGrossearnings() {
            return grossearnings;
        }

        public void setGrossearnings(int grossearnings) {
            this.grossearnings = grossearnings;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }
    }
}
